package com.songcha.module_home.ui.fragment.home

import com.songcha.library_base.mvvm.base.BaseRepository
import com.songcha.library_business.bean.book.BookListBean
import com.songcha.library_business.bean.book.BookNetBean
import com.songcha.library_network.bean.BaseListDataBean
import com.songcha.module_home.bean.HomeCateBean
import com.songcha.module_home.api.HomeApiManager
import io.reactivex.Observable

class HomeRepository:BaseRepository() {
    fun getHomeCate():Observable<HomeCateBean>{
        return HomeApiManager.api.getHomeCate()
    }

    fun getHomeRecommendDialogBookList():Observable<BaseListDataBean<BookNetBean>>{
        return HomeApiManager.api.getHomeRecommendDialogBookList()
    }
}